Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change expected account name in NFTs tests to ENS domain #3494

Merged
merged 3 commits into from
Jun 22, 2023

Conversation

michalinacienciala
Copy link
Contributor

@michalinacienciala michalinacienciala commented Jun 22, 2023

We have configured a ENS name for the
0x6f1b1f1feb01235e15a7962f16c389c7f8218ed6 address. We need to update the tests to reflect that.

Latest build: extension-builds-3494 (as of Thu, 22 Jun 2023 14:20:28 GMT).

We have configured a ENS name for the
`0x6f1b1f1feb01235e15a7962f16c389c7f8218ed6` address. We need to update the
tests to reflect that.
@michalinacienciala michalinacienciala self-assigned this Jun 22, 2023
@michalinacienciala michalinacienciala marked this pull request as ready for review June 22, 2023 10:09
@@ -80,7 +80,7 @@ test.describe("NFTs", () => {
await page
.getByTestId("nft_account_filters")
.filter({
hasText: /^(Phoenix|Matilda|Sirius|Topa|Atos|Sport|Lola|Foz)$/,
hasText: /^e2e\.testertesting\.eth$/,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add a const variable for it so we can reuse that name easily

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See b270c29.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move it to the utils file so every test will have access to that name 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're adding a `const` variable for the account name so that we can reuse
it easily.
We're moving the account address and name to `utils`, so that they could be
easily reused in other tests. We're numering the account, as likely there
will be more acounts used in tests (different accounts may be needed for
different purposes).
Copy link
Contributor

@jagodarybacka jagodarybacka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jagodarybacka jagodarybacka merged commit 2b8e78a into main Jun 22, 2023
5 checks passed
@jagodarybacka jagodarybacka deleted the use-ens-in-nfts-e2e-tests branch June 22, 2023 14:21
@hyphenized hyphenized mentioned this pull request Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants